package pattern.state

/**
 * 状态B
 */
class ConcreteStateB extends State{
  override def handle(context: Context): Unit = {
    println("stateB now...")
    context.setState(context.stateA)
  }
}
